<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="Admin/webroot/css/style.css"/>
<title>广告位列表</title>
</head>
<script type="text/javascript" src="Admin/webroot/js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="Admin/webroot/js/global.js"></script>
<body>
<!--[if lte IE 6]>
<script src="js/DD_belatedPNG_0.0.8a.js" language="javascript" type="text/javascript"></script>
<script type="text/javascript">
	DD_belatedPNG.fix('.pngfix');
</script>
<![endif]-->


    <div class="rightbox">
    	<div class="rightbox-col" id="rightbox">
        	<div class="main">
                 {include file='../Common/main_title.html'}
                <div class="bd">
                	<div class="height_20"></div>
                    <a href="index.php?g=admin&m=ad&a=add_group" class="add-pro">添加广告位</a>
                    <div class="height_20"></div>
                    <div class="pro-list">
                        <div class="pro-list-title">
                            <ul>
                                <li class="pro-id">ID</li>
                                <li class="pro-name">广告名称</li>
                                <li class="pro-sort">位置</li>
                                <li class="date">时间</li>
                                <li class="opreate">操作</li>
                            </ul>
                        </div>
                        <div class="pro-list-bd">
                        <!--{foreach from=$ad_list item=ad}-->
							<ul>
                                <li class="pro-id"><input type="checkbox" name="chklist" value="{$ad.id}"/>{$ad.id}</li>
                                <li class="pro-name">{$ad.title|escape:html}</li>
                                <li class="pro-sort">{$ad.code}</li>
                                <li class="date">{$ad.created|date_format:"%Y-%m-%d"}</li>
                                <li class="opreate">
                                	<a href="index.php?g=admin&m=ad&a=edit_group&id={$ad.id}">编辑</a> |
                                    <a href="index.php?g=admin&m=ad&a=images_list&flash_id={$ad.id}">内容</a> |
                                    <a href="javascript:void()" onclick="del_this(this,'index.php?g=admin&m=ad&a=del_group&id={$ad.id}')">删除</a> 
                                    
                                </li>
                            </ul>
                            
                       <!--{/foreach}-->    	
                            
                            
                            
                                                                                    
                        </div>
                        <div class="pro-list-bottom">
                        	<div class="select-a"><input type="checkbox" flag=1  onclick="select_all(this)" value=""/>全选</div>
                            
                            <a href="javascript:void(0)"  onclick="del_all('ad','del_group')" class="del">删除</a>
                            <div class="page">{$user_list_page}</div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="clear"></div>
    </div>
    <div class="clear"></div>


</body>
</html>
